Method and apparatus for preventing accidental touch operation on mobile terminals

ABSTRACT

The present disclosure provides an accidental-touch prevention method and apparatus for a mobile terminal. The method includes: receiving by the touch screen IC layer a touch instruction from a user, and reporting a touch point on a touch track corresponding to the touch instruction to the driver layer; determining by the driver layer whether the touch point is in the chamfered-rounded-angle area; and when the touch point is in the chamfered-rounded-angle area, correcting coordinates of the touch point by the driver layer.

FIELD OF THE DISCLOSURE

The present disclosure generally relates to the field of touch controltechnology and, more particularly, relates to a method and apparatus forpreventing accidental touch operation on mobile terminals.

BACKGROUND

At present, in the design of mobile terminal, in order to protect touchpanel and LCD panel, a glass will be fit upon the touch panel and LCDpanel. As the need of design, some of the glass is designed to be withchamfered-rounded-angle edge. During the use of the user, it is oftenfound that the action point on the display screen of the mobile terminal(the point displayed on the screen) is not the point the user operates,that is, there is a problem that the touch point in thechamfered-rounded-angle area of the edge of the glass screen on mobileterminal does not correspond to the action point (the point displayed onthe screen).

BRIEF SUMMARY OF THE DISCLOSURE

Embodiments of the present disclosure provide an accidental-touchprevention method and apparatus for a mobile terminal, so as to improvethe accidental-touch prevention effect of the mobile terminal and toimprove the design flexibility of the accidental-touch-prevention-areafunction of mobile terminals.

An accidental-touch prevention method for a mobile terminal is provided,wherein the mobile terminal includes a touch control unit comprising: anapplication layer, a driver layer and a touch screen IC layer, thedriver layer has an interface for the application layer to call, thetouch screen has a chamfered-rounded-angle area, the mobile terminalaccidental-touch prevention method comprising:

receiving, by the touch screen IC layer, a touch instruction from auser, and reporting a touch point on a touch track corresponding to thetouch instruction to the driver layer;

determining, by the driver layer, whether the touch point is in thechamfered-rounded-angle area; and

when the touch point is in the chamfered-rounded-angle area, correcting,by the driver layer, coordinates of the touch point.

Optionally, correcting, by the driver layer, coordinates of the touchpoint further comprises:

receiving, by the driver layer, the horizontal coordinate of the touchpoint reported by the touch screen IC layer, and acquiring the length ofthe arc of the chamfered-rounded-angle in the X-axis direction;

based on a pre-set offset index, the horizontal coordinate of the touchpoint, and the length of the arc of the chamfered-rounded-angle in theX-axis direction, calculating the actual horizontal coordinate of thetouch point.

Optionally, the method further comprises:

reporting, by the driver layer, to the application layer the touch pointwith the corrected coordinates.

Optionally, after determining, by the driver layer, whether the touchpoint falls within a chamfered-rounded-angle area, further comprising:

when the touch point is not in the chamfered-rounded-angle area,reporting, by the driver layer, the coordinate of the touch point to theapplication layer.

Optionally, the chamfered-rounded-angle area is located on the leftside, the right side, the upper edge, or the lower edge of the touchscreen, or the whole edge, or a combination of any of the above.

Optionally, the method further comprises:

analyzing a pre-set number of reported touch points, determining thepre-set offset index.

Optionally, analyzing a pre-set number of reported touch points,determining the pre-set offset index comprises:

calculating the pre-set offset index using the following formula:

X _(—fact)+Offset=X _(—report);

Offset=(W1−X _(—fact))*I;

wherein X_fact is the actual horizontal coordinate of the touch point;X_report is the coordinate reported by the touch screen IC layer; Offsetis the offset value; I is the pre-set offset index; W1 is the length ofthe arc of the chamfered-rounded-angle in the X-axis direction.

Optionally, the method further comprises:

receiving, by the application layer, an accidental-touch-prevention-areaconfiguration instruction, the accidental-touch-prevention-areaconfiguration instruction includes coordinate parameters of theaccidental-touch prevention area;

based on the accidental-touch-prevention-area configuration instruction,calling, by the application layer, the interface of the driver layer toset up the one or more accidental-touch prevention areas on the touchscreen of the mobile terminal.

Optionally, the method further comprises:

receiving, by the touch screen IC layer, a touch instruction from auser, and reporting the touch point information corresponding to thetouch instruction to the driver layer;

determining, by the driver layer, whether the touch point according tothe touch point information falls within the accidental-touch preventionarea; performing, by the driver layer, accidental-touch preventionprocessing on the touch point when the touch point according to thetouch point information falls within the accidental-touch preventionarea; otherwise, reporting, by the driver layer, the touch pointinformation to the application layer, and responding, by the applicationlayer, to the touch point.

Optionally, determining, by the driver layer, whether the touch pointaccording to the touch point information falls within theaccidental-touch prevention area; performing, by the driver layer,accidental-touch prevention processing on the touch point when the touchpoint according to the touch point information falls within theaccidental-touch prevention area, further comprising:

determining, by the driver layer, whether a start point of the touchtrack falls within the pre-set accidental-touch prevention area, andperforming accidental-touch prevention process according to thedetermining result.

An accidental-touch-prevention apparatus for a mobile terminal isprovided, wherein the mobile terminal includes a touch control unitcomprising: an application layer, a driver layer and a touch screen IClayer, the driver layer has an interface for the application layer tocall, the touch screen has a chamfered-rounded-angle area, theaccidental-touch-prevention apparatus for the mobile terminal with thetouch screen comprising:

an instruction receiving module configured to receive a touchinstruction from a user by the touch screen IC layer, and to report atouch point on a touch track corresponding to the touch instruction tothe driver layer; and

a processing module configured to determine whether the touch point isin the chamfered-rounded-angle area by the driver layer; and when thetouch point is in the chamfered-rounded-angle area, correct coordinatesof the touch point by the driver layer.

Optionally, the processing module is configured to:

receive the horizontal coordinate of the touch point by the driver layerreported by the touch screen IC layer, and acquire the length of the arcof the chamfered-rounded-angle in the X-axis direction; based on apre-set offset index, the horizontal coordinate of the touch point, andthe length of the arc of the chamfered-rounded-angle in the X-axisdirection, calculate the actual horizontal coordinate of the touchpoint.

Optionally, the processing module is configured to:

report to the application layer the touch point with the correctedcoordinates by the driver layer.

Optionally, the processing module is configured to:

when the touch point is not in the chamfered-rounded-angle area, reportthe coordinate of the touch point by the driver layer to the applicationlayer.

Optionally, the chamfered-rounded-angle area is located on the leftside, the right side, the upper edge, or the lower edge of the touchscreen, or the whole edge, or a combination of any of the above.

Optionally, the processing module is configured to:

analyze a pre-set number of reported touch points, determine the pre-setoffset index.

Optionally, the processing module configured to:

calculate the pre-set offset index using the following formula:

X _(—fact)+Offset=X _(—report);

Offset=(W1−X_(—fact))*I;

wherein X_fact is the actual horizontal coordinate of the touch point;X_report is the coordinate reported by the touch screen IC layer; Offsetis the offset value; I is the pre-set offset index; W1 is the length ofthe arc of the chamfered-rounded-angle in the X-axis direction.

Optionally, the instruction receiving module configured to receive anaccidental-touch-prevention-area configuration instruction by theapplication layer, the accidental-touch-prevention-area configurationinstruction includes coordinate parameters of the accidental-touchprevention area;

the processing module configured to call the interface of the driverlayer by the application layer to set up the one or moreaccidental-touch prevention areas on the touch screen of the mobileterminal based on the accidental-touch-prevention-area configurationinstruction.

Optionally, the instruction receiving module configured to receive atouch instruction from a user by the touch screen IC layer, and reportthe touch point information corresponding to the touch instruction tothe driver layer;

the processing module configured to determine whether the touch pointaccording to the touch point information falls within theaccidental-touch prevention area by the driver layer; performaccidental-touch prevention processing by the driver layer on the touchpoint when the touch point according to the touch point informationfalls within the accidental-touch prevention area; otherwise, report thetouch point information by the driver layer to the application layer,and respond to the touch point by the application layer.

Optionally, the processing module configured to:

determine whether a start point of the touch track falls within thepre-set accidental-touch prevention area by the driver layer, andperform accidental-touch prevention process according to the determiningresult.

The present disclosure provides an accidental-touch prevention methodand apparatus for a mobile terminal, a touch instruction from a user isreceived by the touch screen IC layer, a touch point corresponding tothe touch instruction is reported to the driver layer, and the driverlayer determines whether the touch point is within achamfered-rounded-angle area. When the touch point is within thechamfered-rounded-angle, coordinates of the touch point are corrected bythe driver layer, so as to achieve accurately positioning the touchpoint, solving the problem that the touch point on thechamfered-rounded-angle of glass screen on the mobile terminal does notcorrespond to the action point (the point displayed on the screen). Theaccidental-touch prevention effect for the mobile terminal can beimproved, and a better touch screen experience can be provided for theterminal users.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flowchart of an accidental-touch prevention method formobile terminals according to a first embodiment of the presentdisclosure;

FIG. 2 is a schematic diagram of an interface on the terminal touchscreen of a correction algorithm in the embodiment of FIG. 1;

FIG. 3 is a flowchart of an accidental-touch prevention method formobile terminals according to a second embodiment of the presentdisclosure;

FIG. 4 is a schematic diagram of a shape of an accidental-touchprevention area according to embodiments of the present disclosure;

FIG. 5 is a schematic diagram of a location of an accidental-touchprevention area according to embodiments of the present disclosure;

FIG. 6 is a flowchart of an accidental-touch prevention method formobile terminals according to a third embodiment of the presentdisclosure;

FIG. 7 is a flowchart of an accidental-touch prevention method formobile terminals according to a fourth embodiment of the presentdisclosure;

FIG. 8 is a flowchart of an accidental-touch prevention method formobile terminals according to a fifth embodiment of the presentdisclosure;

FIG. 9 is a schematic diagram of a touch track of the accidental-touchprevention algorithm in the embodiment of FIG. 8;

FIG. 10 is a flowchart of an accidental-touch prevention method formobile terminals according to a sixth embodiment of the presentdisclosure;

FIG. 11 is a schematic diagram of a touch track of the accidental-touchprevention algorithm in the embodiment of FIG. 10;

FIG. 12 is a functional block diagram of an accidental-touch preventionapparatus for mobile terminals according to the first embodiment of thepresent disclosure;

FIG. 13 is a functional block diagram of an accidental-touch preventionapparatus for mobile terminals according to the second embodiment of thepresent disclosure;

FIG. 14 is a functional block diagram of an accidental-touch preventionapparatus for mobile terminals according to the third embodiment of thepresent disclosure;

FIG. 15 is a structural diagram of a mobile terminal according toembodiments of the present disclosure;

FIG. 16 is a structural diagram of another mobile terminal according toembodiments of the present disclosure; and

FIG. 17 is a structural diagram of a communication system according toembodiments of the present disclosure.

DETAILED DESCRIPTION

The following is a detailed description of certain preferred embodimentsof the present disclosure together with the accompanying drawings. Itshould be understood that the specific embodiments described herein areonly used to explain the present disclosure and are not intended tolimit the present disclosure.

In embodiments of the present disclosure of accidental-touch preventionarea designs for mobile terminals with narrow frame or frameless touchscreens, a touch instruction from a user is received by the touch screenIC layer, a touch point corresponding to the touch instruction isreported to the driver layer, and the driver layer determines whetherthe touch point is within a chamfered-rounded-angle area. When the touchpoint is within the chamfered-rounded-angle, coordinates of the touchpoint are corrected by the driver layer, so as to achieve accuratelypositioning the touch point, solving the problem that the touch point onthe chamfered-rounded-angle of glass screen on the mobile terminal doesnot correspond to the action point (the point displayed on the screen).The accidental-touch prevention effect for the mobile terminal can beimproved, and a better touch screen experience can be provided for theterminal users.

It should be noted that, with the development of mobile phones and othermobile terminals, manufacturers and users increasingly pursue narrowframes on mobile terminals, or even go frameless. Although a narrowframe or frameless can bring user a shock effect visually, it alsointroduces a problem: when a user holds such a mobile phone, it is veryeasy to accidentally touch the edge of the screen of the mobile phone,causing accidental touch operations and lowering the user experience. Tosolve this problem, touch screen IC manufacturers design theaccidental-touch prevention area. However, the functionality of theaccidental-touch prevention area designed by current touch screen ICmanufacturers are implemented in the IC firmware. Once set, the number,position, and size of the area cannot be changed and, thus, the softwaredesign of such mobile terminal cannot break through the restriction fromthe touch screen IC manufacturers. The size means the area of theaccidental-touch prevention area.

In addition, most of the existing touch screen gestures are achieved bysliding (such as a single finger slide for a page-flipping action), andthe current accidental-touch prevention algorithm may filter out thetrack line with the start point in the accidental-touch prevention area.If the start point of a touch gesture is in the accidental-touchprevention area, the touch gesture can be filtered out, which causesaccidental of the touch gesture and lowers the user experience. Further,with the current technologies, there exist the problem that the touchpoint on the chamfered-rounded-angle of glass screen on the mobileterminal does not correspond to the action point (the point displayed onthe screen), the accidental-touch prevention effect for the mobileterminal is further lowered.

Based on the above considerations, embodiments of the present disclosureprovide following solutions.

The mobile terminal according to the embodiments of the presentdisclosure may be a touch control mobile terminal, such as a mobilephone or a tablet computer, which is mainly designed for theaccidental-touch prevention area in a frameless or narrow frame mobileterminal.

A frameless terminal may use the following structure.

The frameless terminal includes a middle frame having a storage space, adisplay screen provided in the middle frame, and a transparent coverplate provided above the display screen. The edge of the transparentcover plate is a chamfer, and the chamfer refracts the light emittedfrom the backlight module, such that the light emitted out of thechamfer and widen the display area. Further, the middle frame ischamfered in the direction of the chamfer and, therefore, when lookingfrom the front vertical direction of the transparent cover plate, theextension direction of the entire transparent cover plate can all bevisible area. That is, the display range of the display screen isextended to the edge of the display screen of the mobile terminal, thusrealizing the effect of frameless display and also making the side ofthe touch control mobile terminal having sensing area.

The embodiments of the present disclosure use the frameless terminal forexample, but do not intend to limit to the present disclosure.

The present disclosure provides an accidental-touch prevention methodfor a mobile terminal. The touch control software architecture of themobile terminal includes an application layer, a driver layer, and atouch screen IC layer, the driver layer has an interface for theapplication layer to call. The present embodiment flexibly sets theaccidental-touch prevention areas by using the code in the driver layer,and the driver layer has an interface for the application layer to call.The application layer calls the interface to have the driver layerrealize the flexible configuration of the number, location, size of theaccidental-touch prevention areas.

By setting the accidental-touch prevention areas, when the touch screenIC layer receives the user's touch instruction, the touch instruction isreported to the driver layer, and the driver layer determines the touchinstruction reported by the touch screen IC layer. The driver layerfilters the touch points, performs the accidental-touch preventionprocessing on the touch point falling within the accidental-touchprevention area, i.e., not reporting to the application layer, andreports to the application layer the touch points falling outside of theaccidental-touch prevention area. The application layer performscorresponding responding operations on the reported touch points.

The edges of the touch screen of the mobile terminal have achamfered-rounded-angle area, the mobile terminal accidental-touchprevention method comprising:

receiving a touch instruction from a user by the touch screen IC layer,and reporting a touch point on a touch track corresponding to the touchinstruction to the driver layer;

determining by the driver layer whether the touch point falls within achamfered-rounded-angle area;

when the touch point is in the chamfered-rounded-angle area, correctingthe coordinates of the touch point by the driver layer.

Optionally, correcting the coordinates of the touch point by the driverlayer further comprises:

the driver layer receives the horizontal coordinate of the touch pointreported by the touch screen IC layer, and acquires the length of thearc of the chamfered-rounded-angle in the X-axis direction; based on apre-set offset index, the horizontal coordinate of the touch point, andthe length of the arc of the chamfered-rounded-angle in the X-axisdirection, calculating the actual horizontal coordinate of the touchpoint. It should be noted that, the X-axis direction in this embodimentis the direction correspond to the direction of the vertical projectionof the extend of the arc in the corresponding horizontal plane. Ingeneral, the coordinates in this embodiment also correspond to verticalordinates, wherein the vertical ordinates are the coordinates along theY-axis direction. The Y-axis is vertical to the X-axis. The Y-axisdirection can be considered to be the direction that thechamfered-rounded-angle area does not cause the coordinate of the touchpoint to incur an offset or the offset to in a pre-set controllablerange.

Optionally, the method further comprising:

reporting to the application layer by the driver layer the touch pointwith the corrected coordinates.

Optionally, after determining by the driver layer whether the touchpoint falls within a chamfered-rounded-angle area, the method furthercomprising: when the touch point is not in the chamfered-rounded-anglearea, the driver layer reports the coordinate of the touch point to theapplication layer.

In one embodiment, the chamfered-rounded-angle area can be located onthe left side, the right side, the upper edge, or the lower edge of thetouch screen, or the whole edge, or a combination of any of the above.

Optionally, referring to FIG. 1, an accidental-touch prevention methodfor mobile terminals according to a first embodiment of the presentdisclosure is provided, the mobile terminal accidental-touch preventionmethod further includes the followings:

Step S501, receiving a touch instruction from a user by the touch screenIC layer, and reporting a touch point on a touch track corresponding tothe touch instruction to the driver layer.

Step S502, determining by the driver layer whether the touch point fallswithin a chamfered-rounded-angle area. If the touch point is in thechamfered-rounded-angle area, the method proceeds to Step S503 and,otherwise, proceeds to Step S505.

Step S503, correcting by the driver layer the coordinates of the touchpoint, and the method proceeds to Step S504.

Step S504, reporting to the application layer by the driver layer thetouch point with the corrected coordinates.

Step S505, reporting the touch point to the application layer by thedriver layer.

The above Step S504 and Step S505 can be implemented optionally.

Optionally, in the present embodiment, the edges of the touch screen ofthe mobile terminal have a chamfered-rounded-angle area, and thechamfered-rounded-angle area can be located on the left side, the rightside, the upper edge, or the lower edge of the touch screen, or thewhole edge, or a combination of any of the above.

The present embodiment is a solution to the problem that the touch pointat the chamfered-rounded-angle area of the edge of the glass screen doesnot correspond to the action point (the point displayed on the screen).

The present disclosure corrects the coordinates of the touch point bythe touch screen driver layer, makes the touch point in thechamfered-rounded-angle area of the glass screen correspond to the pointdisplayed on the screen, and provides the user with better useexperience of touch screens.

Optionally, firstly, the touch screen IC layer receives the user's touchinstruction, and reports the touch point corresponding to the touchinstruction to the driver layer.

Then, the driver layer determines whether the touch point falls withinthe chamfered-rounded-angle area. If the touch point falls within thechamfered-rounded-angle area, the driver layer corrects the coordinateof the touch point and then reports the corrected coordinate of thetouch point. If the touch point is not in the chamfered-rounded-anglearea, the driver layer reports the coordinate of the touch pointdirectly.

The process of correcting the coordinate of the touch point by thedriver layer includes the followings:

Referring to FIG. 2, the coordinate of the touch point in thechamfered-rounded-angle area of the glass screen (i.e., W1 in the FIG.2) is corrected.

The correcting of the horizontal coordinate of the touch point is usedas an example (the correcting of the vertical ordinate of the touchpoint is based on similar principle).

Firstly, the driver layer receives the horizontal coordinate of thetouch point reported by the touch screen IC layer, and acquires thelength of the arc of the chamfered-rounded-angle in the X-axisdirection.

Based on a pre-set offset index, the horizontal coordinate of the touchpoint, and the length of the arc of the chamfered-rounded-angle in theX-axis direction, the actual horizontal coordinate of the touch point iscalculated using a predetermined coordinate correction algorithm.

The correction algorithm of coordinate of the present embodiment is asfollows:

${X_{\;_{-}{fact}} = \frac{X_{\_ {report}} - {W\; 1*I}}{1 - I}};$

The principle of the coordinate correction algorithm can be derived asfollows:

Firstly, from the analysis of a large number of reported touch points,the following two formulas can be given:

X _(—fact)+Offset=X _(—report);

Offset=(W1−X _(—fact))*I;

Where X_fact is the actual horizontal coordinate of the touch point;X_report is the coordinate reported by the touch screen IC layer; Offsetis the offset value; I is the pre-set offset index; W1 is the length ofthe arc of the chamfered-rounded-angle in the X-axis direction.

From the above two formulas, the correction formula can be reverselyderived, as shown below:

${X_{\;_{-}{fact}} = \frac{X_{\_ {report}} - {W\; 1*I}}{1 - I}};$

Thus, according to the pre-set offset index I, the horizontal coordinateof the touch point X_report and the length of the arc of thechamfered-rounded-angle in the X-axis direction W1, by using the abovecorrection formula, the actual horizontal coordinate of the touch pointX_fact can be calculated.

It should be noted that, due to the size of the arc edge of the glass,material of glass, and other factors, the offset indices I of differentglass screens are not the same, and the offset index I can be calculatedthrough big data.

According to the present embodiment, by determining whether the touchpoint falls within the chamfered-rounded-angle area of the glass screen,if the touch point falls within the chamfered-rounded-angle area, thecoordinate of the touch point can be corrected and the correctedcoordinate of the touch point is reported, so as to achieve the accuratepositioning of the touch point. This solves the problem that the touchpoint in the chamfered-rounded-angle area of the edge of the glassscreen does not correspond to the action point (the point displayed onthe screen), and improves the accidental-touch prevention effect of themobile terminal, providing a better touch screen experience for theterminal users.

In addition, the embodiment is implemented in the driver layer ratherthan firmware, which makes the software design of the mobile terminalcan get rid of the restrictions of the touch screen IC suppliers, andimproves the design flexibility of the accidental-touch-prevention-areafunction of mobile terminals. The correction algorithm can be used inany touch screen driver, and the program code for coordinate correctionis easy to maintain.

Referring to FIG. 3, an accidental-touch prevention method for mobileterminals according to a second embodiment of the present disclosure isprovided, which is based on the first embodiment, the mobile terminalaccidental-touch prevention method further includes the followings:

Step S101, receiving by the application layer anaccidental-touch-prevention-area configuration instruction from theuser, the accidental-touch-prevention-area configuration instructionincludes coordinate parameters of the accidental-touch prevention area;the accidental-touch-prevention-area configuration instruction can beinstructions input by user, and can be pre-set instructions set in themobile terminal.

Taking the mobile phone as an example, developers or mobile terminalusers can set the accidental-touch prevention area according to theactual situation. The application layer provides an interactiveinterface and receives the accidental-touch-prevention-areaconfiguration instruction from the user through the interactiveinterface. The user can input the relevant coordinate parameters of theaccidental-touch prevention area through the interactive interface, soas to determine the shape, size, and location of the accidental-touchprevention area(s). The size correspond to the area of theaccidental-touch prevention area.

Further, the accidental-touch prevention area may be a rectangle, andthe edge of the accidental-touch prevention area may be an arc shapeadapted to the shape of the edge of the mobile phone.

Using the rectangle for example, referring to FIG. 4, the outer framerepresents the display screen, the area filled with white is theaccidental-touch prevention area, the basic shape of which is rectangle.The coordinate parameters of the accidental-touch prevention area can becoordinates of two diagonal vertices of the accidental-touch preventionarea (x₀, y₀), y₁). That is, the location and size of theaccidental-touch prevention area are determined when the coordinates oftwo diagonal vertices are inputted.

For accidental-touch prevention areas having other shapes, thecoordinate parameters can be set under similar principles to determinethe location and size of the accidental-touch prevention areas.

Step S102, based on the accidental-touch-prevention-area configurationinstruction, the application layer calls the interface of the driverlayer to set up the one or more accidental-touch prevention areas on thetouch screen of the mobile terminal.

According to the user's holding habit on mobile phones, theaccidental-touch prevention area can be set on the edge of the mobilephone, such as the two sides (referring to FIG. 5), the upper edge,and/or the lower edge etc.

In addition, the number of the accidental-touch prevention areas can beset by the user, which can be one or more. When there is a plurality ofaccidental-touch prevention areas, the plurality of accidental-touchprevention areas may be respectively located on the left side, the rightside, as shown in FIG. 5, or the upper edge, and/or the lower edge ofthe touch screen of the mobile terminal.

That is, after receiving the accidental-touch-prevention-areaconfiguration instruction, and based on the coordinate parameters in theaccidental-touch-prevention-area configuration instruction, theapplication layer calls the interface provided by the driver layer toset the one or more accidental-touch prevention areas on thecorresponding locations of the touch screen of the mobile terminal.

Because, in the present embodiment, the accidental-touch-prevention-areafunction is realized in the driver layer, the number, location, and sizeof the accidental-touch prevention areas can be freely set through theapplication layer. In the current accidental-touch prevention areadesign schemes, the accidental-touch-prevention-area function isachieved in the IC firmware, and the number, location and size of theaccidental-touch prevention areas cannot be changed once set up. Thus,in the embodiment of the present disclosure, theaccidental-touch-prevention-area function is achieved in the driverlayer. On one hand, the number, location and size of theaccidental-touch prevention areas can be freely set through theapplication layer; on the other hand, theaccidental-touch-prevention-area function is implemented in the driverlayer rather than firmware, which makes it easy for the software designof the mobile terminal to get rid of the restriction of the touch screenIC suppliers, so as to provide a better accidental-touch preventioneffect to terminal users, and to improve the design flexibility of theaccidental-touch-prevention-area function of mobile terminals.

Referring to FIG. 6, an accidental-touch prevention method for mobileterminals according to a third embodiment of the present disclosure isprovided, which is based on the first embodiment and/or the secondembodiment, and the mobile terminal accidental-touch prevention methodincludes the followings.

Step S103, receiving a touch instruction from a user by the touch screenIC layer, and reporting the touch point information corresponding to thetouch instruction to the driver layer.

Step S104, after the driver layer receives the touch point informationreported by the touch screen IC layer, the driver layer determineswhether the touch point according to the touch point information fallswithin the accidental-touch prevention area. If yes, the method proceedsto step S105 and, otherwise, proceeds to step S106.

Step S105, the driver layer performs accidental-touch preventionprocessing on the touch point.

Step S106, the driver layer reports the touch point information to theapplication layer, and the application layer responds to the touchpoint.

Compared to the previous embodiments, the present embodiment furtherincludes a process for responding to the user's touch instruction andperforming the accidental-touch prevention processing on the user'saccidental operation.

Optionally, according to the touch screen provided with theaccidental-touch prevention areas as in the above embodiment, when theuser performs a touch operation on the touch screen, the touch screen IClayer receives the user's touch instruction, and reports the touch pointinformation in the touch instruction to the driver layer.

After the driver layer receives the touch point information reported bythe touch screen IC layer, the driver layer determines whether the touchpoint according to the touch point information falls within theaccidental-touch prevention area, so as to filter the touch point. Thedriver layer performs the accidental-touch prevention processing on thetouch point falling within the accidental-touch prevention area. Thatis, the driver layer does not directly report the touch point to theapplication layer. Further, the driver layer reports the touch point notfalling within the accidental-touch prevention area to the applicationlayer, and the application layer performs corresponding respondingoperation.

Thus, in the present embodiment, the driver layer provides an interfacefor the application layer to call and, when the application layerreceives the accidental-touch-prevention-area configuration instructionfrom a user, the application layer calls the interface provided by thedriver layer to set the one or more accidental-touch prevention areas onthe corresponding locations of the touch screen of the mobile terminal.Comparing to current accidental-touch prevention area design schemes,the accidental-touch-prevention-area function by the touch screen ICmanufacturers is achieved in the IC firmware, and the number, locationand size of the accidental-touch prevention areas cannot be changed onceset up. Thus, in the embodiment of the present disclosure, theaccidental-touch-prevention-area function is achieved in the driverlayer. On one hand, the number, location and size of theaccidental-touch prevention areas can be freely set through theapplication layer; on the other hand, theaccidental-touch-prevention-area function is implemented in the driverlayer rather than firmware, which makes it easy for the software designof the mobile terminal to get rid of the restriction of the touch screenIC suppliers, and to improve the design flexibility of theaccidental-touch-prevention-area function of mobile terminals.Subsequently, after the driver layer receives the touch pointinformation reported by the touch screen IC layer, the driver layerdetermines whether the touch point according to the touch pointinformation falls within the accidental-touch prevention area, so as tofilter the touch point. The driver layer performs the accidental-touchprevention processing on the touch point falling within theaccidental-touch prevention area. That is, the driver layer does notdirectly report the touch point to the application layer. Further, thedriver layer reports the touch point not falling within theaccidental-touch prevention area to the application layer, and theapplication layer performs corresponding responding operation, providinga better accidental-touch prevention effect to the terminal users.

Referring to FIG. 7, an accidental-touch prevention method for mobileterminals according to a fourth embodiment of the present disclosure isprovided, which is based on the first embodiment, the second embodimentand/or the third embodiment, the method further includes the followings:

Step S107, the application layer updates the number, location, and/orsize of the accidental-touch prevention area(s) based on theaccidental-touch-prevention-area configuration instruction from theuser.

Comparing to the previous embodiments, in the present embodiment, theapplication layer can update the number, location, and/or size of theaccidental-touch prevention area(s) based on user needs, so as toimprove the design flexibility of the accidental-touch-prevention-areafunction of mobile terminals, and to meet user needs.

Referring to FIG. 8, an accidental-touch prevention method for mobileterminals according to a fifth embodiment of the present disclosure isprovided, which is based on the first embodiment, the second embodiment,the third embodiment and/or the fourth embodiment, the mobile terminalaccidental-touch prevention method further includes the followings:

Step S301, receiving a touch instruction from a user by the touch screenIC layer, and reporting a touch point on a touch track corresponding tothe touch instruction to the driver layer;

Step S302, determining by the driver layer whether a start point of thetouch track falls within the pre-set accidental-touch prevention area,and performing accidental-touch prevention process according to thedetermining result.

The present embodiment is based on the above-described embodiments, toimprove the accidental-touch prevention effect of the mobile terminaland to avoid erroneous judgment of the accidental-touch preventionprocessing, further refines the accidental-touch prevention processingof the mobile terminal.

The present embodiment takes into account that, when a user performs asliding touch operation on the touch screen of a mobile phone,especially for a mobile phone with narrow frame or a frameless phone,not every point on the user's touch track always fall outside theaccidental-touch prevention area. For instance, there may be a situationwhere the touch track passes through the edge part, and the edge part isprovided with an accidental-touch prevention area. That is, some touchpoints of the touch track falls within the accidental-touch preventionarea and, in this situation, if treating these touch points asaccidental touch points and not reporting these touch points, it cancause erroneous judgement on touch points.

In view of this, the present embodiment provides an accidental-touchprevention algorithm design for the frameless or narrow-frame mobileterminal, uses the program code of the driver layer to realize theeffective filtering of the accidental touch point, improving theaccuracy for determining the accidental touch point. The presentembodiment is implemented at the driver layer. The touch screen IC layerreports touch points to the touch screen driver layer at a pre-set timeinterval (such as every 1/85 second), and the touch screen driver layerprocesses the touch points. The touch point identified as an accidentaltouch point is filtered, otherwise the touch point is reported to theapplication layer.

Further, the basic principle of the accidental-touch preventionalgorithm of this present embodiment includes the followings:

When the user holds the mobile terminal, the accidental touch points areusually generated from the side edges of the screen. That is, theaccidental touch points are concentrated on both sides of the touchscreen. If the touch area between the hand and the terminal is large,the touch points generated may slide inward for a short distance fromthe edge. Thus, when the user's hand is performing normal touchoperation, the start part of the touch track may fall within theaccidental-touch prevention area and, in this situation, the touchoperation is a valid operation and should not be filtered out.

Based on the above principle, the specifics of accidental-touchprevention of the present embodiment is as follows:

Referring to FIG. 9, the touch screen IC layer receives the touchinstruction from a user, and the touch screen IC layer reports the touchpoint on the touch track corresponding to the touch instruction to thedriver layer.

The driver layer determines whether the start point of the touch trackfalls within the accidental-touch prevention area. When the start pointof the touch track falls within the pre-set accidental-touch preventionarea, the driver layer filters all the touch points on the touch trackthat fall within the accidental-touch prevention area before a firsttouch point that falls outside of the accidental-touch prevention area,and reports to the application layer all the touch points on the touchtrack after the first touch point falling outside of theaccidental-touch prevention area.

If the start point of the touch track does not fall within the pre-setaccidental-touch prevention area, the driver layer reports all the touchpoints on the touch track to the application layer.

Referring to FIG. 9, the whole frame represents the touch screen of themobile phone, the accidental-touch prevention areas (the smallrectangular areas in FIG. 9) are set on the left side and right side ofthe touch screen of the mobile phone, respectively. The user touches theleft side of the touch screen to trigger a touch operation, whichgenerates a touch track L1, and also touches the right side of the touchscreen to trigger another touch operation, which generates a touch trackL2. The dots on the touch track are the touch points reported by thetouch screen IC layer to the driver layer, the black dots are reportabletouch points, and the white dots are the filtered touch points.

The specific algorithm of accidental-touch prevention is as follows:

Each touch track is assigned an ID, and the attribute value of the touchpoint on each touch track is represented by S. The touch point with theattribute value S=0 needs to be reported to the application layer, andthe touch point with the attribute value S=1 needs to be filtered.

The following principles are used to determine whether the touch pointson the touch track need to be reported:

For the touch track L1, touch points A1, B1, C1, D1, E1, F1, G1 are onthe touch track L1, among which touch points A1, B1, F1, G1 fall withinthe accidental-touch prevention area, and touch points C1, D1, E1 fallout of the accidental-touch prevention area, and the start point is A1according to the arrow of the touch track L1.

Firstly, when the touch screen IC layer reports the touch points to thedriver layer, the ID of the touch track and the coordinate parameters ofthe touch points on the touch track are reported to the driver layer.

For the start point A1, the driver layer determines that A1 falls withinthe accidental-touch prevention area, and sets the attribute value S ofA1 to 1, which needs to be filtered out. The driver layer does notreport the start point A1.

For the next touch point B1, the driver layer determines that B1 fallswithin the accidental-touch prevention area, and sets the attributevalue S of B1 to 1, which needs to be filtered out. The driver layerdoes not report B1.

For the next touch point C1, the driver layer determines that C1 fallsoutside of the accidental-touch prevention area, and sets the attributevalue S of C1 to 0, which needs to be reported. The driver layer reportstouch point C1 and all the touch points after C1 (including D1, E1, F1,G1) to the application layer. Although the touch points F1 and G1 fallwithin the accidental-touch prevention area, these touch points arevalid touch operation, and need to be reported.

For the touch track L2, the touch points A2, B2, C2, D2 are on the touchtrack L2, among which touch points A2, B2 fall outside of theaccidental-touch prevention area, touch points C2, D2 fall within theaccidental-touch prevention area, and the start point is A2 according tothe arrow of the touch track L2.

Firstly, when the touch screen IC layer reports the touch point to thedriver layer, the ID of the touch track and the coordinate parameters ofthe touch points on the touch track are reported to the driver layer.

For the start point A2, the driver layer determines that A2 fallsoutside of the accidental-touch prevention area, and sets the attributevalue S of A2 to 0, which needs to be reported. The driver layer reportsthe start point A2 to the application layer.

For all the touch points after the start point A2 (including B2, C2,D2), the driver layer reports them to the application layer. Althoughthe touch points C2, D2 fall within the accidental-touch preventionarea, those touch points are valid touch operation, and need to bereported.

Thus, the present embodiment uses program code of the driver layer torealize the effective filtering of the accidental touch points, andimproves the accuracy of the judgement of the accidental touch points.

The embodiments of the present disclosure can effectively filter out theaccidental touch points in the accidental-touch prevention area, theaccidental-touch prevention area is not dead area and, thus, it does notaffect the normal operation of the user. In addition, the embodimentsare implemented in the driver layer rather than firmware, which makesthe software design of the mobile terminal can get rid of therestrictions of the touch screen IC suppliers, not to be affected by thetouch screen firmware. The accidental-touch prevention algorithm can beused in any touch screen driver, and the program code of theaccidental-touch prevention algorithm is easy to maintain.

Referring to FIG. 10, an accidental-touch prevention method for mobileterminals according to a sixth embodiment of the present disclosure isprovided, which is based on the first embodiment, the second embodiment,the third embodiment, the fourth embodiment and/or the fifth embodiment,the mobile terminal accidental-touch prevention method further includesthe followings:

Step S401, receiving a touch instruction from a user by the touch screenIC layer, and reporting to the driver layer a touch point on a touchtrack corresponding to the touch instruction.

Step S402, determining by the driver layer whether a start point of thetouch track falls within the pre-set accidental-touch prevention area.When the start point of the touch track falls within the pre-setaccidental-touch prevention area, acquiring by the driver layer adistance on the touch track between a touch point after the start pointand the start point, and performing accidental-touch preventionprocessing based on the distance.

According to the present embodiment, to improve the accidental-touchprevention effect of the mobile terminal, and to avoid erroneousjudgment on the touch screen gesture operation, the mobile terminalaccidental-touch prevention method can include the following specifics.

The present embodiment takes into account that some sliding gestureoperations on the touch screen may fall within the accidental-touchprevention area, and the touch points of these sliding gestureoperations should be reported to the application layer.

The basic principle of the accidental-touch prevention algorithm of thispresent embodiment includes the followings:

In general, the displacement of the accidental touch point on the X-axisand Y-axis is relatively small, while the touch screen gestures have arelatively larger displacement. Such difference may be used to determinewhether the touch point (touch track) in the accidental-touch preventionarea is an accidental touch point (touch track) or a touch screengesture.

Optionally, when the start point of the touch track falls within thepre-set accidental-touch prevention area, the driver layer records thecoordinate of the start point.

The driver layer obtains the coordinate of a next touch point after thestart point and, based on the coordinate of the start point and thecoordinate of the next touch point, calculates a distance D. If D isgreater than a pre-set threshold, it is determined that the currenttouch operation is a touch-screen gesture, the next touch point and alltouch points after the next touch point on the touch track are reportedto the application layer, or all the touch points on the touch track arereported to the application layer. If D is less than or equal to thepre-set threshold, the next touch point is not reported, proceeding todetermine a touch point after the next touch point.

Referring to FIG. 11, the outer frame in FIG. 11 is the frame of thetouch screen of the mobile terminal, and the small rectangle is theaccidental-touch prevention area. In the accidental-touch preventionarea, a touch track L is generated by the user, which includes the startpoint P0, and other touch points P1, P2, etc. The accidental-touchprevention algorithm of the present disclosure includes following:

At first, the driver layer determines whether the start point P0 fallswithin the accidental-touch prevention area. It is determined that thestart point P0 falls within the accidental-touch prevention area, andthe driver layer records the coordinate of the start point P0.

Then, the driver layer obtains the coordinate of a next touch point P1after the start point, calculates the distance D between P1 and P0 basedon the coordinate of the start point P0 and the next touch point P1. IfD is greater than a pre-set threshold K, it is determined that thecurrent touch operation is a touch-screen gesture, the driver layerreports the touch points P1 and all touch points after the touch pointP1 on the touch track to the application layer, or reports all the touchpoints on the touch track to the application layer;

If it is determined that D is less than or equal to the pre-setthreshold K, then the next touch point P1 is not reported, the driverlayer proceeds to determine a next touch point P2. If the touch point P2meets the above-mentioned condition, the driver layer reports the touchpoints P2 and all touch points after the touch point P2 on the touchtrack to the application layer, or reports all the touch points on thetouch track to the application layer.

That is, the touch screen IC reports the touch point to the touch screendriver layer, and the touch screen driver layer processes the touchpoint. If the start point P0 of line L falls within the accidental-touchprevention area, the coordinate of the start point is recorded.Afterwards, when the IC firmware reports touch point information, thedistance D between the touch point and P0 on line L is compared with thethreshold. If D is less than the threshold, the touch point on the lineL is not reported; if D is greater than the threshold, the line L isregarded as a touch screen gesture, all the touch points on the line Lare reported or the current touch point and all touch points after thecurrent touch point are reported.

In one embodiment, in FIG. 11, both the dashed line and the solid lineare part of the line L, the dashed line is the filtered part, and thesolid line is the part that is reported as the touch screen gesture.

In the above determination process, when the start point of the touchtrack does not fall within the pre-set accidental-touch prevention area,the driver layer may report all the touch points on the touch track tothe application layer.

According to the present disclosure, the driver layer program can beused to realize the effective filtering of the accidental touch points,improving the accuracy of judgment of the accidental touch points.Further, the touch screen gestures in the accidental-touch preventionarea can be recognized, preventing mistaken judgment of the touch screengestures.

The embodiments of the present disclosure can effectively filter out theaccidental touch points in the accidental-touch prevention area, theaccidental-touch prevention area is not dead area and, thus, it does notaffect the normal operation of the user, as the accidental-touchprevention algorithm does not filter out touch screen gestures. Inaddition, the embodiments are implemented in the driver layer ratherthan firmware, which makes the software design of the mobile terminalcan get rid of the restrictions of the touch screen IC suppliers, not tobe affected by the touch screen firmware. The accidental-touchprevention algorithm can be used in any touch screen driver, and theprogram code of the accidental-touch prevention algorithm is easy tomaintain.

It should be noted that features of the various above-describedembodiments can be implemented in combination with each other.

Referring to FIG. 12, an accidental-touch-prevention apparatus for amobile terminal according to the first embodiment of the presentdisclosure is provided. The touch control unit of the mobile terminalincludes: an application layer, a driver layer, and a touch screen IClayer. The driver layer provides an interface for the application layerto call, and the mobile terminal accidental-touch-prevention apparatuswith a touch screen includes: an instruction receiving module 201 and asetting module 202.

The instruction receiving module 201 is configured to receive anaccidental-touch-prevention-area configuration instruction from a userby the application layer, and the accidental-touch-prevention-areaconfiguration instruction includes coordinate parameters of theaccidental-touch prevention area;

The setting module 202 is configured to, based on theaccidental-touch-prevention-area configuration instruction and throughthe application layer, call the interface of the driver layer to set upthe one or more accidental-touch prevention areas on the touch screen ofthe mobile terminal.

The present embodiment flexibly sets the accidental-touch preventionareas by using the code in the driver layer, and the driver layer has aninterface for the application layer to call. The application layer callsthe interface to have the driver layer realize the flexibleconfiguration of the number, location, size of the accidental-touchprevention areas.

By setting the accidental-touch prevention areas, when the touch screenIC layer receives the user's touch instruction, the touch instruction isreported to the driver layer, and the driver layer determines the touchinstruction reported by the touch screen IC layer. The driver layerfilters the touch points, performs the accidental-touch preventionprocessing on the touch point falling within the accidental-touchprevention area, i.e., not reporting to the application layer, andreports to the application layer the touch points falling outside of theaccidental-touch prevention area. The application layer performscorresponding responding operations on the reported touch points.

Optionally, the mobile terminal accidental-touch-prevention apparatuscan be implemented on a mobile phone, a tablet or other touch controlterminals.

Using the mobile phone as an example, developers or mobile terminalusers can set the accidental-touch prevention area according to theactual situation. The application layer provides an interactiveinterface and receives the accidental-touch-prevention-areaconfiguration instruction from the user through the interactiveinterface. The user can input the relevant coordinate parameters of theaccidental-touch prevention area through the interactive interface, soas to determine the shape, size, and location of the accidental-touchprevention area(s).

Further, the accidental-touch prevention area may be a rectangle, andthe edge of the accidental-touch prevention area may be an arc shapeadapted to the shape of the edge of the mobile phone.

Using the rectangle for example, referring to FIG. 4, the outer framerepresents the display screen, the area filled with white is theaccidental-touch prevention area, the basic shape of which is rectangle.The coordinate parameters of the accidental-touch prevention area can becoordinates of two diagonal vertices of the accidental-touch preventionarea (x₀, y₀), y₁). That is, the location and size of theaccidental-touch prevention area are determined when the coordinates oftwo diagonal vertices are inputted.

For accidental-touch prevention areas having other shapes, thecoordinate parameters can be set under similar principles to determinethe location and size of the accidental-touch prevention areas.

According to the user's holding habit on mobile phones, theaccidental-touch prevention area can be set on the edge of the mobilephone, such as the two sides (referring to FIG. 5), the upper edge,and/or the lower edge etc.

In addition, the number of the accidental-touch prevention areas can beset by the user, which can be one or more. When there are a plurality ofaccidental-touch prevention areas, the plurality of accidental-touchprevention areas may be respectively located on the left side, the rightside, as shown in FIG. 5, or the upper edge, and/or the lower edge ofthe touch screen of the mobile terminal.

That is, after receiving the accidental-touch-prevention-areaconfiguration instruction, and based on the coordinate parameters in theaccidental-touch-prevention-area configuration instruction, theapplication layer calls the interface provided by the driver layer toset the one or more accidental-touch prevention areas on thecorresponding locations of the touch screen of the mobile terminal.

Because, in the present embodiment, the accidental-touch-prevention-areafunction is realized in the driver layer, the number, location, and sizeof the accidental-touch prevention areas can be freely set through theapplication layer. In the current accidental-touch prevention areadesign schemes, the accidental-touch-prevention-area function isachieved in the IC firmware, and the number, location and size of theaccidental-touch prevention areas cannot be changed once set up. Thus,in the embodiment of the present disclosure, theaccidental-touch-prevention-area function is achieved in the driverlayer. On one hand, the number, location and size of theaccidental-touch prevention areas can be freely set through theapplication layer; on the other hand, theaccidental-touch-prevention-area function is implemented in the driverlayer rather than firmware, which makes it easy for the software designof the mobile terminal to get rid of the restriction of the touch screenIC suppliers, so as to provide a better accidental-touch preventioneffect to terminal users, and to improve the design flexibility of theaccidental-touch-prevention-area function of mobile terminals.

Referring to FIG. 13, an accidental-touch-prevention apparatus for amobile terminal according to a second embodiment of the presentdisclosure is provided and, based on the above embodiment, the apparatusfurther includes the followings:

A processing module 203 configured to receive a touch instruction from auser by the touch screen IC layer, and to report the touch pointinformation corresponding to the touch instruction to the driver layer.After the driver layer receives the touch point information reported bythe touch screen IC layer, the driver layer determines whether the touchpoint according to the touch point information falls within theaccidental-touch prevention area. If yes, the driver layer performsaccidental-touch prevention processing on the touch point; if no, thedriver layer reports the touch point information to the applicationlayer, and the application layer responds to the touch point.

Compared to the previous embodiment, the present embodiment furtherincludes a process for responding to the user's touch instruction andperforming the accidental-touch prevention processing on the user'saccidental operation.

Optionally, according to the touch screen provided with theaccidental-touch prevention areas as in the above embodiment, when theuser performs a touch operation on the touch screen, the touch screen IClayer receives the user's touch instruction, and reports the touch pointinformation in the touch instruction to the driver layer.

After the driver layer receives the touch point information reported bythe touch screen IC layer, the driver layer determines whether the touchpoint according to the touch point information falls within theaccidental-touch prevention area, so as to filter the touch point. Thedriver layer performs the accidental-touch prevention processing on thetouch point falling within the accidental-touch prevention area. Thatis, the driver layer does not directly report the touch point to theapplication layer. Further, the driver layer reports the touch point notfalling within the accidental-touch prevention area to the applicationlayer, and the application layer performs corresponding respondingoperation.

Thus, in the present embodiment, the driver layer provides an interfacefor the application layer to call and, when the application layerreceives the accidental-touch-prevention-area configuration instructionfrom a user, the application layer calls the interface provided by thedriver layer to set the one or more accidental-touch prevention areas onthe corresponding locations of the touch screen of the mobile terminal.Comparing to current accidental-touch prevention area design schemes,the accidental-touch-prevention-area function by the touch screen ICmanufacturers is achieved in the IC firmware, and the number, locationand size of the accidental-touch prevention areas cannot be changed onceset up. Thus, in the embodiment of the present disclosure, theaccidental-touch-prevention-area function is achieved in the driverlayer. On one hand, the number, location and size of theaccidental-touch prevention areas can be freely set through theapplication layer; on the other hand, theaccidental-touch-prevention-area function is implemented in the driverlayer rather than firmware, which makes it easy for the software designof the mobile terminal to get rid of the restriction of the touch screenIC suppliers, and to improve the design flexibility of theaccidental-touch-prevention-area function of mobile terminals.Subsequently, after the driver layer receives the touch pointinformation reported by the touch screen IC layer, the driver layerdetermines whether the touch point according to the touch pointinformation falls within the accidental-touch prevention area, so as tofilter the touch point. The driver layer performs the accidental-touchprevention processing on the touch point falling within theaccidental-touch prevention area. The driver layer reports the touchpoint not falling within the accidental-touch prevention area to theapplication layer, and the application layer performs correspondingresponding operation, providing a better accidental-touch preventioneffect to the terminal users.

Referring to FIG. 14, an accidental-touch-prevention apparatus for amobile terminal according to a third embodiment of the presentdisclosure is provided and, based on the above embodiment, the apparatusfurther includes the followings:

An updating module 204 configured to update the number, location, and/orsize of the accidental-touch prevention area(s) based on theaccidental-touch-prevention-area configuration instruction from the userby the application layer.

Comparing to the previous embodiments, in the present embodiment, theapplication layer can update the number, location, and/or size of theaccidental-touch prevention area(s) based on user needs, so as toimprove the design flexibility of the accidental-touch-prevention-areafunction of mobile terminals, and to meet user needs.

Optionally, in another embodiment of the present disclosure, theinstruction receiving module 201 is further configured to receive atouch instruction from a user by the touch screen IC layer, and toreport a touch point on a touch track corresponding to the touchinstruction to the driver layer.

The processing module 203 is further configured to determine whether astart point of the touch track falls within the pre-set accidental-touchprevention area by the driver layer, and to perform accidental-touchprevention process according to the determining result.

The processing module 203 is also configured to determine whether thestart point of the touch track falls within the accidental-touchprevention area by the driver layer. When the start point of the touchtrack falls within the pre-set accidental-touch prevention area, thedriver layer reports the touch point falling within the accidental-touchprevention area to the application layer, and filters the touch pointfalling outside of the accidental-touch prevention area. When the startpoint of the touch track does not fall within the pre-setaccidental-touch prevention area, the driver layer reports all the touchpoints on the touch track to the application layer.

The present embodiment is based on the above-described embodiments, toimprove the accidental-touch prevention effect of the mobile terminaland to avoid erroneous judgment of the accidental-touch preventionprocessing, further refines the accidental-touch prevention processingof the mobile terminal.

The present embodiment takes into account that, when a user performs asliding touch operation on the touch screen of a mobile phone,especially for a mobile phone with narrow frame or a frameless phone,not every point on the user's touch track always fall outside theaccidental-touch prevention area. For instance, there may be a situationwhere the touch track passes through the edge part, and the edge part isprovided with an accidental-touch prevention area. That is, some touchpoints of the touch track falls within the accidental-touch preventionarea and, in this situation, if treating these touch points asaccidental touch points and not reporting these touch points, it cancause erroneous judgement on touch points.

In view of this, the present embodiment provides an accidental-touchprevention algorithm design for the frameless or narrow-frame mobileterminal, uses the program code of the driver layer to realize theeffective filtering of the accidental touch point, improving theaccuracy for determining the accidental touch point. The presentembodiment is implemented at the driver layer. The touch screen IC layerreports touch points to the touch screen driver layer at a pre-set timeinterval (such as every 1/85 second), and the touch screen driver layerprocesses the touch points. The touch point identified as an accidentaltouch point is filtered, otherwise the touch point is reported to theapplication layer.

Further, the basic principle of the accidental-touch preventionalgorithm of this present embodiment includes the followings:

When the user holds the mobile terminal, the accidental touch points areusually generated from the side edges of the screen. That is, theaccidental touch points are concentrated on both sides of the touchscreen. If the touch area between the hand and the terminal is large,the touch points generated may slide inward for a short distance fromthe edge. Thus, when the user's hand is performing normal touchoperation, the start part of the touch track may fall within theaccidental-touch prevention area and, in this situation, the touchoperation is a valid operation and should not be filtered out.

Based on the above principle, the specifics of accidental-touchprevention of the present embodiment is as follows:

Referring to FIG. 9, the touch screen IC layer receives the touchinstruction from a user, and the touch screen IC layer reports the touchpoint on the touch track corresponding to the touch instruction to thedriver layer.

The driver layer determines whether the start point of the touch trackfalls within the accidental-touch prevention area. When the start pointof the touch track falls within the pre-set accidental-touch preventionarea, the driver layer filters all the touch points on the touch trackthat fall within the accidental-touch prevention area before a firsttouch point that falls outside of the accidental-touch prevention area,and reports to the application layer all the touch points on the touchtrack after the first touch point falling outside of theaccidental-touch prevention area.

If the start point of the touch track does not fall within the pre-setaccidental-touch prevention area, the driver layer reports all the touchpoints on the touch track to the application layer.

Referring to FIG. 9, the whole frame represents the touch screen of themobile phone, the accidental-touch prevention areas (the smallrectangular areas in FIG. 9) are set on the left side and right side ofthe touch screen of the mobile phone, respectively. The user touches theleft side of the touch screen to trigger a touch operation, whichgenerates a touch track L1, and also touches the right side of the touchscreen to trigger another touch operation, which generates a touch trackL2. The dots on the touch track are the touch points reported by thetouch screen IC layer to the driver layer, the black dots are reportabletouch points, and the white dots are the filtered touch points.

The specific algorithm of accidental-touch prevention is as follows:

Each touch track is assigned an ID, and the attribute value of the touchpoint on each touch track is represented by S. The touch point with theattribute value S=0 needs to be reported to the application layer, andthe touch point with the attribute value S=1 needs to be filtered.

The following principles are used to determine whether the touch pointson the touch track need to be reported:

For the touch track L1, touch points A1, B1, C1, D1, E1, F1, G1 are onthe touch track L1, among which touch points A1, B1, F1, G1 fall withinthe accidental-touch prevention area, and touch points C1, D1, E1 fallout of the accidental-touch prevention area, and the start point is A1according to the arrow of the touch track L1.

Firstly, when the touch screen IC layer reports the touch points to thedriver layer, the ID of the touch track and the coordinate parameters ofthe touch points on the touch track are reported to the driver layer.

For the start point A1, the driver layer determines that A1 falls withinthe accidental-touch prevention area, and sets the attribute value S ofA1 to 1, which needs to be filtered out. The driver layer does notreport the start point A1.

For the next touch point B1, the driver layer determines that B1 fallswithin the accidental-touch prevention area, and sets the attributevalue S of B1 to 1, which needs to be filtered out. The driver layerdoes not report B1.

For the next touch point C1, the driver layer determines that C1 fallsoutside of the accidental-touch prevention area, and sets the attributevalue S of C1 to 0, which needs to be reported. The driver layer reportstouch point C1 and all the touch points after C1 (including D1, E1, F1,G1) to the application layer. Although the touch points F1 and G1 fallwithin the accidental-touch prevention area, these touch points arevalid touch operation, and need to be reported.

For the touch track L2, the touch points A2, B2, C2, D2 are on the touchtrack L2, among which touch points A2, B2 fall outside of theaccidental-touch prevention area, touch points C2, D2 fall within theaccidental-touch prevention area, and the start point is A2 according tothe arrow of the touch track L2.

Firstly, when the touch screen IC layer reports the touch point to thedriver layer, the ID of the touch track and the coordinate parameters ofthe touch points on the touch track are reported to the driver layer.

For the start point A2, the driver layer determines that A2 fallsoutside of the accidental-touch prevention area, and sets the attributevalue S of A2 to 0, which needs to be reported. The driver layer reportsthe start point A2 to the application layer.

For all the touch points after the start point A2 (including B2, C2,D2), the driver layer reports them to the application layer. Althoughthe touch points C2, D2 fall within the accidental-touch preventionarea, those touch points are valid touch operation, and need to bereported.

Thus, the present embodiment uses program code of the driver layer torealize the effective filtering of the accidental touch points, andimproves the accuracy of the judgement of the accidental touch points.

The embodiments of the present disclosure can effectively filter out theaccidental touch points in the accidental-touch prevention area, theaccidental-touch prevention area is not dead area and, thus, it does notaffect the normal operation of the user. In addition, the embodimentsare implemented in the driver layer rather than firmware, which makesthe software design of the mobile terminal can get rid of therestrictions of the touch screen IC suppliers, not to be affected by thetouch screen firmware. The accidental-touch prevention algorithm can beused in any touch screen driver, and the program code of theaccidental-touch prevention algorithm is easy to maintain.

Optionally, in another embodiment of the present disclosure, theinstruction receiving module 201 is configured to receive a touchinstruction from the user by the touch screen IC layer, and to report atouch point on a touch track corresponding to the touch instruction tothe driver layer.

The processing module 203 is configured to, when a start point of thetouch track falls within the pre-set accidental-touch prevention area,acquire by the driver layer a distance on the touch track between atouch point after the start point and the start point, and to performaccidental-touch prevention processing based on the distance.

The processing module 203 is further configured to, analyze a pre-setnumber of reported touch points, determine the pre-set offset index.Wherein the pre-set number can be larger than a pre-set threshold. Thepre-set threshold is generally a relatively large number, and can be setup when the mobile terminal out of the factory. For example, theprocessing module 203 is configured to calculate the pre-set offsetindex using the following formula: X_(—fact)+Offset=X_(—report);Offset=(W1−X_(—fact))*I; wherein X_fact is the actual horizontalcoordinate of the touch point; X_report is the coordinate reported bythe touch screen IC layer; Offset is the offset value; I is the pre-setoffset index; W1 is the length of the arc of the chamfered-rounded-anglein the X-axis direction.

Optionally, the instruction receiving module 201 is further configuredto, receive an accidental-touch-prevention-area configurationinstruction by the application layer, theaccidental-touch-prevention-area configuration instruction includescoordinate parameters of the accidental-touch prevention area; theprocessing module 202 is configured to call the interface of the driverlayer by the application layer based on theaccidental-touch-prevention-area configuration instruction, and to setup the one or more accidental-touch prevention areas on the touch screenof the mobile terminal.

Optionally, the instruction receiving module 201 is further configuredto, receive a touch instruction from a user by the touch screen IClayer, and report the touch point information corresponding to the touchinstruction to the driver layer; the processing module 203 is configuredto determine whether the touch point according to the touch pointinformation falls within the accidental-touch prevention area by thedriver layer; perform accidental-touch prevention processing on thetouch point when the touch point according to the touch pointinformation falls within the accidental-touch prevention area by thedriver layer; otherwise, report the touch point information to theapplication layer by the driver layer, and respond to the touch point bythe application layer.

According to the present embodiment, to improve the accidental-touchprevention effect of the mobile terminal, and to avoid erroneousjudgment on the touch screen gesture operation, the mobile terminalaccidental-touch prevention method can include the following specifics.

The present embodiment takes into account that some sliding gestureoperations on the touch screen may fall within the accidental-touchprevention area, and the touch points of these sliding gestureoperations should be reported to the application layer.

The basic principle of the accidental-touch prevention algorithm of thispresent embodiment includes the followings:

In general, the displacement of the accidental touch point on the X-axisand Y-axis is relatively small, while the touch screen gestures have arelatively larger displacement. Such difference may be used to determinewhether the touch point (touch track) in the accidental-touch preventionarea is an accidental touch point (touch track) or a touch screengesture.

Optionally, when the start point of the touch track falls within thepre-set accidental-touch prevention area, the driver layer records thecoordinate of the start point.

The driver layer obtains the coordinate of a next touch point after thestart point and, based on the coordinate of the start point and thecoordinate of the next touch point, calculates a distance D. If D isgreater than a pre-set threshold, it is determined that the currenttouch operation is a touch-screen gesture, the next touch point and alltouch points after the next touch point on the touch track are reportedto the application layer, or all the touch points on the touch track arereported to the application layer. If D is less than or equal to thepre-set threshold, the next touch point is not reported, proceeding todetermine a touch point after the next touch point.

Referring to FIG. 11, the outer frame in FIG. 11 is the frame of thetouch screen of the mobile terminal, and the small rectangle is theaccidental-touch prevention area. In the accidental-touch preventionarea, a touch track L is generated by the user, which includes the startpoint P0, and other touch points P1, P2, etc. The accidental-touchprevention algorithm of the present disclosure includes following:

At first, the driver layer determines whether the start point P0 fallswithin the accidental-touch prevention area. It is determined that thestart point P0 falls within the accidental-touch prevention area, andthe driver layer records the coordinate of the start point P0.

Then, the driver layer obtains the coordinate of a next touch point P1after the start point, calculates the distance D between P1 and P0 basedon the coordinate of the start point P0 and the next touch point P1. IfD is greater than a pre-set threshold K, it is determined that thecurrent touch operation is a touch-screen gesture, the driver layerreports the touch points P1 and all touch points after the touch pointP1 on the touch track to the application layer, or reports all the touchpoints on the touch track to the application layer.

If it is determined that D is less than or equal to the pre-setthreshold K, then the next touch point P1 is not reported, the driverlayer proceeds to determine a next touch point P2. If the touch point P2meets the above-mentioned condition, the driver layer reports the touchpoints P2 and all touch points after the touch point P2 on the touchtrack to the application layer, or reports all the touch points on thetouch track to the application layer.

That is, the touch screen IC reports the touch point to the touch screendriver layer, and the touch screen driver layer processes the touchpoint. If the start point P0 of line L falls within the accidental-touchprevention area, the coordinate of the start point is recorded.Afterwards, when the IC firmware reports touch point information, thedistance D between the touch point and P0 on line L is compared with thethreshold. If D is less than the threshold, the touch point on the lineL is not reported; if D is greater than the threshold, the line L isregarded as a touch screen gesture, all the touch points on the line Lare reported or the current touch point and all touch points after thecurrent touch point are reported.

In one embodiment, in FIG. 11, both the dashed line and the solid lineare part of the line L, the dashed line is the filtered part, and thesolid line is the part that is reported as the touch screen gesture.

In the above determination process, when the start point of the touchtrack does not fall within the pre-set accidental-touch prevention area,the driver layer may report all the touch points on the touch track tothe application layer.

According to the present disclosure, the driver layer program can beused to realize the effective filtering of the accidental touch points,improving the accuracy of judgment of the accidental touch points.Further, the touch screen gestures in the accidental-touch preventionarea can be recognized, preventing mistaken judgment of the touch screengestures.

The embodiments of the present disclosure can effectively filter out theaccidental touch points in the accidental-touch prevention area, theaccidental-touch prevention area is not dead area and, thus, it does notaffect the normal operation of the user, as the accidental-touchprevention algorithm does not filter out touch screen gestures. Inaddition, the embodiments are implemented in the driver layer ratherthan firmware, which makes the software design of the mobile terminalcan get rid of the restrictions of the touch screen IC suppliers, not tobe affected by the touch screen firmware. The accidental-touchprevention algorithm can be used in any touch screen driver, and theprogram code of the accidental-touch prevention algorithm is easy tomaintain.

Optionally, in another embodiment of the present disclosure, theinstruction receiving module 201 is configured to receive a touchinstruction from a user by the touch screen IC layer, and report a touchpoint on a touch track corresponding to the touch instruction to thedriver layer.

The processing module 203 is further configured to determine whether thetouch point falls within a chamfered-rounded-angle area. If the touchpoint is in the chamfered-rounded-angle area, the driver layer correctsthe coordinates of the touch point.

Specifically, in the present embodiment, the edges of the touch screenof the mobile terminal have a chamfered-rounded-angle area, and thechamfered-rounded-angle area can be located on the left side, the rightside, the upper edge, or the lower edge of the touch screen, or thewhole edge, or a combination of any of the above.

The present embodiment is a solution to the problem that the touch pointat the chamfered-rounded-angle area of the edge of the glass screen doesnot correspond to the action point (the point displayed on the screen).

The present disclosure corrects the coordinates of the touch point bythe touch screen driver layer, makes the touch point in thechamfered-rounded-angle area of the glass screen correspond to the pointdisplayed on the screen one-by-one, and provides the user with betteruse experience of touch screens.

Optionally, firstly, the touch screen IC layer receives the user's touchinstruction, and reports the touch point corresponding to the touchinstruction to the driver layer.

Then, the driver layer determines whether the touch point falls withinthe chamfered-rounded-angle area. If the touch point falls within thechamfered-rounded-angle area, the driver layer corrects the coordinateof the touch point and then reports the corrected coordinate of thetouch point. If the touch point is not in the chamfered-rounded-anglearea, the driver layer reports the coordinate of the touch pointdirectly.

The process of correcting the coordinate of the touch point by thedriver layer includes the followings:

Referring to FIG. 2, the coordinate of the touch point in thechamfered-rounded-angle area of the glass screen (i.e., W1 in the FIG.2) is corrected.

The correcting of the horizontal coordinate of the touch point is usedas an example (the correcting of the vertical ordinate of the touchpoint is based on similar principle).

Firstly, the driver layer receives the horizontal coordinate of thetouch point reported by the touch screen IC layer, and acquires thelength of the arc of the chamfered-rounded-angle in the X-axisdirection.

Based on a pre-set offset index, the horizontal coordinate of the touchpoint, and the length of the arc of the chamfered-rounded-angle in theX-axis direction, the actual horizontal coordinate of the touch point iscalculated using a predetermined coordinate correction algorithm.

The correction algorithm of coordinate of the present embodiment is asfollows:

${X_{\;_{-}{fact}} = \frac{X_{\_ {report}} - {W\; 1*I}}{1 - I}};$

The principle of the coordinate correction algorithm can be derived asfollows:

Firstly, from the analysis of a large number of reported touch points,the following two formulas can be given:

X _(—fact)+Offset=X _(—report);

Offset=(W1−X _(—fact))*I;

Where X_fact is the actual horizontal coordinate of the touch point;X_report is the coordinate reported by the touch screen IC layer; Offsetis the offset value; I is the pre-set offset index; W1 is the length ofthe arc of the chamfered-rounded-angle in the X-axis direction.

From the above two formulas, the correction formula can be reverselyderived, as shown below:

${X_{\;_{-}{fact}} = \frac{X_{\_ {report}} - {W\; 1*I}}{1 - I}};$

Thus, according to the pre-set offset index I, the horizontal coordinateof the touch point X_report and the length of the arc of thechamfered-rounded-angle in the X-axis direction W1, by using the abovecorrection formula, the actual horizontal coordinate of the touch pointX_fact can be calculated.

It should be noted that, due to the size of the arc edge of the glass,material of glass, and other factors, the offset indices I of differentglass screens are not the same, and the offset index I can be calculatedthrough big data.

According to the present embodiment, by determining whether the touchpoint falls within the chamfered-rounded-angle area of the glass screen,if the touch point falls within the chamfered-rounded-angle area, thecoordinate of the touch point can be corrected and the correctedcoordinate of the touch point is reported, so as to achieve the accuratepositioning of the touch point. This solves the problem that the touchpoint in the chamfered-rounded-angle area of the edge of the glassscreen does not correspond to the action point (the point displayed onthe screen), and improves the accidental-touch prevention effect of themobile terminal, providing a better touch screen experience for theterminal users.

In addition, the embodiment is implemented in the driver layer ratherthan firmware, which makes the software design of the mobile terminalcan get rid of the restrictions of the touch screen IC suppliers, andimproves the design flexibility of the accidental-touch-prevention-areafunction of mobile terminals. The correction algorithm can be used inany touch screen driver, and the program code for coordinate correctionis easy to maintain.

The embodiments of the present disclosure also provide a computerstorage medium. Executable instructions are stored in the computerstorage medium. The executable instructions are for executing at leastone of the above-mentioned method for accidental-touch prevention ofmobile terminal, such as the method shown in FIG. 1, FIG. 3, FIG. 6,FIG. 7, FIG. 8, or FIG. 10. The computer storage medium in the presentembodiments can be CD-ROM, hard disk, disk or other storage media, andcan be non-transitory computer readable storage medium.

Referring to FIG. 15 and FIG. 16, there are also provided two mobileterminals capable of applying the above-mentioned accidental-touchprevention methods. In the following description, usage of suffixes suchas ‘module’, ‘part’ or ‘unit’ used for referring to elements is givenmerely to facilitate explanation of the present invention, withouthaving any significant meaning by itself. Accordingly, the ‘module’ and‘part’ may be mixedly used.

Mobile terminals may be implemented in various forms. For example, theterminal described in the present invention may include mobileterminals, such as mobile phones, smart phones, notebook computers,digital broadcast receivers, PDAs (Personal Digital Assistants), PADs(Tablet Computer), PMPs (Portable Multimedia Player), navigationdevices, and the like, and fixed terminals such as digital TVs, desk topcomputers and the like. Hereinafter, it is assumed that the terminal isa mobile terminal. However, it would be understood by a person in theart that the configuration according to the embodiments of the presentinvention can be also applicable to the fixed types of terminals, exceptfor any elements especially configured for a mobile purpose.

FIG. 15 is a block diagram of a mobile terminal according to anembodiment of the present invention. As shown in FIG. 15, the mobileterminal 100 may include a wireless communication unit 110, an A/V(Audio/Video) input unit 120, a user input unit 130, a sensing unit 140,an output unit 150, a memory 160, an interface unit 170, a controller180, a power supply unit 190 and the like. FIG. 15 shows the mobileterminal as having various components, but it should be understood thatimplementing all the illustrated components is not a requirement. Moreor fewer components may optionally be implemented.

The wireless communication unit 110 typically includes one or morecomponents allowing radio communication between the mobile terminal 100and a wireless communication system or a network. For example, thewireless communication unit may include at least one of a broadcastreceiving module 111, a mobile communication module 112, a wirelessInternet module 113, a short-range communication module 114, and alocation information module 115.

The broadcast receiving module 111 receives broadcast signals and/orbroadcast associated information from an external broadcast managementserver via a broadcast channel. The broadcast channel may include asatellite channel and/or a terrestrial channel. The broadcast managementserver may be a server that generates and transmits a broadcast signaland/or broadcast associated information or a server that receives apreviously generated broadcast signal and/or broadcast associatedinformation and transmits the same to a terminal. The broadcast signalmay include a TV broadcast signal, a radio broadcast signal, a databroadcast signal, and the like. Also, the broadcast signal may furtherinclude a broadcast signal combined with a TV or radio broadcast signal.The broadcast associated information may also be provided via a mobilecommunication network and, in this instance, the broadcast associatedinformation may be received by the mobile communication module 112. Thebroadcast signal may exist in various forms. For example, it may existin the form of an electronic program guide (EPG) of digital multimediabroadcasting (DMB), electronic service guide (ESG) of digital videobroadcast-handheld (DVB-H), and the like. The broadcast receiving module111 may be configured to receive signals broadcast by using varioustypes of broadcast systems. In particular, the broadcast receivingmodule 111 may receive a digital broadcast by using a digital broadcastsystem such as multimedia broadcasting-terrestrial (DMB-T), digitalmultimedia broadcasting-satellite (DMB-S), digital videobroadcast-handheld (DVB-H), the data broadcasting system known as mediaforward link only (MediaFLO), integrated services digitalbroadcast-terrestrial (ISDB-T), etc. The broadcast receiving module 111may be configured to be suitable for every broadcast system thatprovides a broadcast signal as well as the above-mentioned digitalbroadcast systems. Broadcast signals and/or broadcast-associatedinformation received via the broadcast receiving module 111 may bestored in the memory 160 (or another type of storage medium).

The mobile communication module 112 transmits and/or receives radiosignals to and/or from at least one of a base station (e.g., accesspoint, Node B, etc.), an external terminal and a server. Such radiosignals may include a voice call signal, a video call signal or varioustypes of data according to text and/or multimedia message transmissionand/or reception.

The wireless Internet module 113 supports wireless Internet access forthe mobile terminal. This module may be internally or externally coupledto the terminal. The wireless Internet access technique to which thismodule relates may include a WLAN (Wireless LAN) (Wi-Fi), Wibro(Wireless broadband), Wimax (World Interoperability for MicrowaveAccess), HSDPA (High Speed Downlink Packet Access), or the like.

The short-range communication module 114 is a module for supportingshort range communications. Some examples of short-range communicationtechnology include Bluetooth™, Radio Frequency IDentification (RFID),Infrared Data Association (IrDA), Ultra-WideBand (UWB), ZigBee™, and thelike.

The location information module 115 is a module for checking oracquiring a location (or position) of the mobile terminal. A typicalexample of the location information module is a GPS (Global PositioningSystem). According to the current technology, the GPS module 115calculates distance information from three or more satellites andaccurate time information and applies trigonometry to the calculatedinformation to thereby accurately calculate three-dimensional currentlocation information according to latitude, longitude, and altitude.Currently, a method for calculating location and time information byusing three satellites and correcting an error of the calculatedlocation and time information by using another one satellite. Inaddition, the GPS module 115 can calculate speed information bycontinuously calculating the current location information in real time.

The A/V input unit 120 is configured to receive an audio or videosignal. The A/V input unit 120 may include a camera 121 and a microphone122. The camera 121 processes image data of still pictures or videoobtained by an image capture device in a video capturing mode or animage capturing mode. The processed image frames may be displayed on adisplay unit 151. The image frames processed by the camera 121 may bestored in the memory 160 (or other storage medium) or transmitted viathe wireless communication unit 110. Two or more cameras 121 may beprovided according to the configuration of the mobile terminal. Themicrophone 122 may receive sounds (audible data) via a microphone in aphone call mode, a recording mode, a voice recognition mode, and thelike, and can process such sounds into audio data. The processed audio(voice) data may be converted for output into a format transmittable toa mobile communication base station via the mobile communication module112 during the phone call mode. The microphone 122 may implement varioustypes of noise canceling (or suppression) algorithms to cancel (orsuppress) noise or interference generated in the course of receiving andtransmitting audio signals.

The user input unit 130 may generate key input data from commandsentered by a user to control various operations of the mobile terminal.The user input unit 130 allows the user to enter various types ofinformation, and may include a keypad, a dome switch, a touch pad (e.g.,a touch sensitive member that detects changes in resistance, pressure,capacitance, etc. due to being contacted), a jog wheel, a jog switch,and the like. In particular, when the touch pad is overlaid on thedisplay unit 151 in a layered manner, it may form a touch screen.

The sensing unit 140 detects a current status of the mobile terminal 100such as an opened or closed state of the mobile terminal 100, a locationof the mobile terminal 100, the presence or absence of user contact withthe mobile terminal 100 (i.e., touch inputs), the orientation of themobile terminal 100, an acceleration or deceleration movement anddirection of the mobile terminal 100, etc., and generates commands orsignals for controlling the operation of the mobile terminal 100. Forexample, when the mobile terminal 100 is implemented as a slide typemobile phone, the sensing unit 140 may sense whether the slide phone isopened or closed. In addition, the sensing unit 140 can detect whetheror not the power supply unit 190 supplies power or whether or not theinterface unit 170 is coupled with an external device. The sensing unit140 may include a proximity sensor 141. This will be described inrelation to a touch screen later.

The interface unit 170 serves as an interface by which at least oneexternal device may be connected with the mobile terminal 100. Forexample, the external devices may include wired or wireless headsetports, an external power supply (or battery charger) ports, wired orwireless data ports, memory card ports, ports for connecting a devicehaving an identification module, audio input/output (I/O) ports, videoI/O ports, earphone ports, or the like. The identification module may bea memory chip that stores various information for authenticating auser's authority for using the mobile terminal 100 and may include auser identity module (UIM), a subscriber identity module (SIM), auniversal subscriber identity module (USIM), and the like. In addition,the device having the identification module (referred to as the‘identifying device’, hereinafter) may take the form of a smart card.Accordingly, the identifying device may be connected with the terminal100 via a port or other connection means. The interface unit 170 may beused to receive inputs (e.g., data, information, power, etc.) from anexternal device and transfer the received inputs to one or more elementswithin the mobile terminal 100 or may be used to transfer data betweenthe mobile terminal and an external device.

In addition, when the mobile terminal 100 is connected with an externalcradle, the interface unit 170 may serve as a conduit to allow powerfrom the cradle to be supplied therethrough to the mobile terminal 100or may serve as a conduit to allow various command signals input fromthe cradle to be transferred to the mobile terminal therethrough.Various command signals or power input from the cradle may be operatedas a signal for recognizing that the mobile terminal is accuratelymounted on the cradle. The output unit 150 is configured to provideoutputs in a visual, audible, and/or tactile manner (e.g., audio signal,video signal, alarm signal, vibration signal, etc.). The output unit 150may include the display unit 151, an audio output module 152, an alarmunit 153, and the like.

The display unit 151 may display information processed in the mobileterminal 100. For example, when the mobile terminal 100 is in a phonecall mode, the display unit 151 may display a User Interface (UI) or aGraphic User Interface (GUI) associated with a call or othercommunication (such as text messaging, multimedia file downloading,etc.). When the mobile terminal 100 is in a video call mode or imagecapturing mode, the display unit 151 may display a captured image and/orreceived image, a UI or GUI that shows videos or images and functionsrelated thereto, and the like.

Meanwhile, when the display unit 151 and the touch pad are overlaid in alayered manner to form a touch screen, the display unit 151 may functionas both an input device and an output device. The display unit 151 mayinclude at least one of a Liquid Crystal Display (LCD), a Thin FilmTransistor-LCD (TFT-LCD), an Organic Light Emitting Diode (OLED)display, a flexible display, a three-dimensional (3D) display, or thelike. Some of them may be configured to be transparent to allow viewingof the exterior, which may be called transparent displays. A typicaltransparent display may be, for example, a TOLED (Transparent OrganicLight Emitting Diode) display, or the like. The mobile terminal 100 mayinclude two or more display units (or other display means) according toits particular desired embodiment. For example, the mobile terminal mayinclude both an external display unit (not shown) and an internaldisplay unit (not shown). The touch screen may be configured to detecteven a touch input pressure as well as a touch input position and atouch input area.

The audio output module 152 may convert, and output as sound, audio datareceived from the wireless communication unit 110 or stored in thememory 160 in a call signal reception mode, a call mode, a record mode,a voice recognition mode, a broadcast reception mode, and the like.Also, the audio output module 152 may provide audible outputs related toa particular function performed by the mobile terminal 100 (e.g., a callsignal reception sound, a message reception sound, etc.). The audiooutput module 152 may include a speaker, a buzzer, or the like.

The alarm unit 153 may provide outputs to inform about the occurrence ofan event of the mobile terminal 100. Typical events may include callreception, message reception, key signal inputs, a touch input etc. Inaddition to audio or video outputs, the alarm unit 153 may provideoutputs in a different manner to inform about the occurrence of anevent. For example, the alarm unit 153 may provide an output in the formof vibrations. When a call, a message, or some other incomingcommunication is received, the alarm unit 153 may provide tactileoutputs (i.e., vibrations) to inform the user thereof. By providing suchtactile outputs, the user can recognize the occurrence of various eventseven if his mobile phone is in the user's pocket. Outputs informingabout the occurrence of an event may be also provided via the displayunit 151 or the audio output module 152 by the alarm unit 153.

The memory 160 may store software programs or the like used for theprocessing and controlling operations performed by the controller 180,or may temporarily store data (e.g., a phonebook, messages, stillimages, video, etc.) that have been output or which are to be output.Also, the memory 160 may store data regarding various patterns ofvibrations and audio signals output when a touch is applied to the touchscreen.

The memory 160 may include at least one type of storage medium includinga Flash memory, a hard disk, a multimedia card, a card-type memory(e.g., SD or DX memory, etc), a Random Access Memory (RAM), a StaticRandom Access Memory (SRAM), a Read-Only Memory (ROM), an ElectricallyErasable Programmable Read-Only Memory (EEPROM), a ProgrammableRead-Only Memory (PROM), a magnetic memory, a magnetic disk, an opticaldisk, and the like. Also, the mobile terminal 100 may cooperate with anetwork storage device that performs the storage function of the memory160 over a network connection.

The controller 180 typically controls the general operations of themobile terminal. For example, the controller 180 performs controllingand processing associated with voice calls, data communications, videocalls, and the like. In addition, the controller 180 may include amultimedia module 181 for reproducing (or playing back) multimedia data.The multimedia module 181 may be configured within the controller 180 ormay be configured to be separate from the controller 180. The controller180 may perform a pattern recognition processing to recognize ahandwriting input or a picture drawing input performed on the touchscreen as characters or images.

The power supply unit 190 receives external power or internal power andsupplies appropriate power required for operating respective elementsand components under the control of the controller 180.

Various embodiments as described herein may be implemented in acomputer-readable medium using, for example, computer software,hardware, or any combination thereof. For hardware implementation, theembodiments described herein may be implemented by using at least one ofapplication specific integrated circuits (ASICs), digital signalprocessors (DSPs), digital signal processing devices (DSPDs),programmable logic devices (PLDs), field programmable gate arrays(FPGAs), processors, controllers, micro-controllers, microprocessors,electronic units designed to perform the functions described herein. Insome instances, such embodiments may be implemented in the controller180. For software implementation, the embodiments such as procedures orfunctions may be implemented together with separate software modulesthat allow performing of at least one function or operation. Softwarecodes can be implemented by a software application (or program) writtenin any suitable programming language. The software codes may be storedin the memory 160 and executed by the controller 180.

So far, the mobile terminal has been described from the perspective ofits functions. Hereinafter, a slide-type mobile terminal, among varioustypes of mobile terminal such as folder-type, bar-type, swing-type,slide type mobile terminals, or the like, will be described as anexample for the sake of brevity. Thus, the present invention can beapplicable to any type of mobile terminal, without being limited to theslide-type mobile terminal.

The mobile terminal 100 as shown in FIG. 15 may be configured to operatewith a communication system, which transmits data via frames or packets,such as wired and wireless communication systems, as well assatellite-based communication systems.

FIG. 16 provides another embodiment of structure of the mobile terminal.In FIG. 16, the mobile terminal comprising: input device, processor 903and display screen 904. In one embodiment, the input device is touchscreen 2010. The touch screen 2010 comprising a touch panel 901 and atouch controller 902. Besides, the input device can also be untouchableinput device (such as infrared input device). The touch panel 901 andthe display screen 904 can correspond to the touch screen in theabove-mentioned embodiments. The touch IC layer in the touch unit cancorrespond to the touch panel 901.

The input device can be used to receive the touch instruction of theuser by the touch screen IC layer, and report the touch point on thetouch track corresponding to the touch instruction to the driver layer.The processor 903 can correspond to the processing module in the aboveembodiments, which is configured to, when a start point of the touchtrack falls within the pre-set accidental-touch prevention area, acquirea distance between a touch point behind the start point on the touchtrack and the start point by the driver layer, and performaccidental-touch prevention processing according to the distance.

The touch controller 902 can be a single Application Specific IntegratedCircuit (ASIC), and it can include one or more processor subsystems, theprocessor subsystem may include one or more ARM processors or otherprocessors with similar functionality and performance.

The touch controller 902 is mainly used for receiving the touch signalgenerated by the touch panel 901, processing the touch signal andtransmitting to the processor 903 of the mobile terminal. The processingcomprising, for example, performs analog-to-digital conversion of thephysical input signal, processes to achieve the coordinate of the touchpoint, processes to achieve the duration of touch.

The application layer and the driver layer in the touch control unit cancorrespond to one or more processor subsystems in the touch controller.That is, the processor subsystem running in the touch controller 902 maycorrespond to the application layer, the driver layer, and the touchscreen IC layer. The operation of the driver layer and the applicationlayer can be performed by the touch controller 902 by running theprocessor subsystem.

The processor 903 receives the output of the touch controller 902, andperforms operations based on the output after processing the output. Theoperations are not limited to include: moving objects such as table orindicator, scrolling or panning, adjusting control settings, openingfiles or documents, viewing menus, selecting, executing instructions,operating peripheral devices connected to the host device, answering acall, making a call, stopping a call, changing volume or audio setting,saving information relevant to phone call (such as, address, commonnumber, answered calls, missed calls), logging in to computer orcomputer network, allowing authorization to access the restricted areaof computer or computer network, recording a user profile associated toa user's preferences configuration of a computer desktop, accessing tocontent on web, starting particular program, encrypting or decodingmessages, and so on.

The processor 903 is further connected with the display screen 904. Thedisplay screen 904 provides UI for the user of the device.

In one embodiment, the processor 903 can be a component that is separatefrom the touch controller 902. In other embodiment, the processor 903can be a component that is combined with the touch controller 902.

In one embodiment, the touch panel 901 is provided with a separatecapacitive sensor, a resistive sensor, a force sensor, an opticalsensor, or the like.

When user's finger touches the touch panel, the touch panel generates atouch signal (electrical signal) and transmits to the touch controller902. The touch controller 902 can obtain the coordinates of the touchpoint by scanning. In one embodiment, the touch panel 901 of touchscreen 2010 is physically a set of independent coordinate positioningsystem, when the coordinate of touch point has been reported to theprocessor 903, the processor 903 converts the coordinate to the pixelcoordinate adapted to the display screen 904, so as to identify theinput operation correctly.

In other embodiment, the application layer and the driver layer of thetouch control unit can correspond to the processor 903, the processorreceives the coordinates of the touch directly, and performsaccidental-touch prevention processing.

Such communication systems in which the mobile terminal according to anembodiment of the present invention can operate will now be describedwith reference to FIG. 17.

These communication systems may use different air interfaces and/orphysical layers. For example, air interfaces utilized by thecommunication systems include example, frequency division multipleaccess (FDMA), time division multiple access (TDMA), code divisionmultiple access (CDMA), and universal mobile telecommunications system(UMTS) (in particular, long term evolution (LTE)), global system formobile communications (GSM), and the like. As a non-limiting example,the description hereafter relates to a CDMA communication system, butsuch teachings apply equally to other types of systems.

Referring to FIG. 17, a CDMA wireless communication system may include aplurality of mobile terminals 100, a plurality of base stations (BSs)270, base station controllers (BSCs) 275, and a mobile switching center(MSC) 280. The MSC 280 is configured to interface with a public switchtelephone network (PSTN) 290. The MSC 280 is also configured tointerface with the BSCs 275, which may be coupled to the base stations270 via backhaul lines. The backhaul lines may be configured inaccordance with any of several known interfaces including, for example,E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or xDSL. It is to beunderstood that the system as shown in FIG. 17 may include a pluralityof BSCs 275.

Each BS 270 may serve one or more sectors (or regions), each sectorcovered by an omni-directional antenna or an antenna pointed in aparticular direction radially away from the BS 270. Optionally, eachsector may be covered by two or more antennas for diversity reception.Each BS 270 may be configured to support a plurality of frequencyassignments, and each frequency assignment has a particular spectrum(e.g., 1.25 MHz, 5 MHz, etc).

The intersection of a sector and frequency assignment may be referred toas a CDMA channel. The BS 270 may also be referred to as base stationtransceiver subsystems (BTSs) or other equivalent terms. In thissituation, the term “base station” may be used to collectively refer toa single BSC 275 and at least one BS 270. The base station may also bereferred to as a “cell site”. Optionally, individual sectors of aparticular BS 270 may be referred to as a plurality of cell sites.

As shown in FIG. 17, a broadcasting transmitter (BT) 295 transmits abroadcast signal to the mobile terminals 100 operating within thesystem. The broadcast receiving module 111 as shown in FIG. 15 isprovided at the terminal 100 to receive broadcast signals transmitted bythe BT 295. In FIG. 17, several global positioning systems (GPS)satellites 300 are shown. The satellites 300 help locate at least one ofa plurality of terminals 100.

In FIG. 17, several satellites 300 are depicted, but it is understoodthat useful positioning information may be obtained with any number ofsatellites. The GPS module 115 as shown in FIG. 15 is typicallyconfigured to cooperate with the satellites 300 to obtain desiredpositioning information. Instead of or in addition to GPS trackingtechniques, other technologies that may track the location of the mobileterminals may be used. In addition, at least one of the GPS satellites300 may selectively or additionally handle satellite DMB transmissions.

As one typical operation of the wireless communication system, the BSs270 receive reverse-link signals from various mobile terminals 100. Themobile terminals 100 typically engage in calls, messaging, and othertypes of communications. Each reverse-link signal received by aparticular base station 270 is processed within the particular BS 270.The resulting data is forwarded to an associated BSC 275. The BSCprovides call resource allocation and mobility management functionalityincluding the coordination of soft handoff procedures between BSs 270.The BSCs 275 also route the received data to the MSC 280, which providesadditional routing services for interfacing with the PSTN 290.Similarly, the PSTN 290 interfaces with the MSC 280, the MSC interfaceswith the BSCs 275, and the BSCs 275 in turn control the BSs 270 totransmit forward-link signals to the mobile terminals 100.

It should be noted that features of the various above-describedembodiments can be implemented in combination with each other.

It should be noted that in the present disclosure, the terms‘comprising’, ‘including’ or any other variant which is intended toencompass a non-exclusive inclusion, so as to include a series ofelements of process, method, material or apparatus, and not only includethose elements, but also include other elements that are not explicitlylisted, or the elements that are inherent to these process, method,material or apparatus. In the absence of more restrictions, the elementsdefined by the statement ‘comprising a . . . ’ do not exclude thepresence of the other same elements in the process, method, material orapparatus that includes the elements.

The above described embodiments of the present disclosure are only forthe sake of description and do not represent the pros and cons of theembodiments.

With the description of the above embodiments, it will be apparent tothose skilled in the art that the method of the above embodiments can berealized by software plus the necessary general hardware platform, andalso can be realized by the hardware, but in many cases the former is abetter embodiment. Based on this understanding, the technical solutionof the present disclosure, in essence, or in the form of a prior art,can be embodied in the form of a software product, the software productstored in a storage medium (such as ROM/RAM, disk, CD-ROM), and thesoftware product includes a number of instructions for enabling aterminal device (which may be a mobile phone, a computer, a server, or anetwork device, etc.) to perform the method described in the variousembodiments of the present disclosure.

For the purpose of explanation, the above description uses specificterms to provide a thorough understanding of the present disclosure. Itwill be apparent, however, to one skilled in the art that specificdetails are not required to practice the disclosure. The foregoingdescription of specific embodiments of the present disclosure has beenpresented for the purpose of illustration. They are not intended to beexhaustive or to limit the invention to the precise form disclosed. Inview of the above doctrines, many modifications and variations arepossible. These embodiments are shown and described in order to bestexplain the principles of the present disclosure and its practicalapplication so that other technicians skilled in the art will be able tomake good use of the present disclosure and various modifications thatare suitable for the intended use various embodiments. It is intendedthat the scope of the disclosure be defined by the following claims andtheir equivalents.

1. An accidental-touch prevention method for a mobile terminal, whereinthe mobile terminal includes a touch control unit having an applicationlayer, a driver layer and a touch screen IC layer, the driver layer hasan interface for the application layer to call, and a touch screen has achamfered-rounded-angle area, the accidental-touch prevention methodcomprising: receiving, by the touch screen IC layer, a touch instructionfrom a user, and reporting a touch point on a touch track correspondingto the touch instruction to the driver layer; determining, by the driverlayer, whether the touch point is in the chamfered-rounded-angle area;and when the touch point is in the chamfered-rounded-angle area,correcting, by the driver layer, coordinates of the touch point.
 2. Themethod according to claim 1, wherein correcting, by the driver layer,coordinates of the touch point further comprises: receiving, by thedriver layer, the horizontal coordinate of the touch point reported bythe touch screen IC layer, and acquiring the length of the arc of thechamfered-rounded-angle in the X-axis direction; based on a pre-setoffset index, the horizontal coordinate of the touch point, and thelength of the arc of the chamfered-rounded-angle in the X-axisdirection, calculating the actual horizontal coordinate of the touchpoint.
 3. The method according to claim 1, further comprising:reporting, by the driver layer, to the application layer the touch pointwith the corrected coordinates.
 4. The method according to claim 1,after determining, by the driver layer, whether the touch point fallswithin a chamfered-rounded-angle area, further comprising: when thetouch point is not in the chamfered-rounded-angle area, reporting, bythe driver layer, the coordinate of the touch point to the applicationlayer.
 5. The method according to claim 1, wherein thechamfered-rounded-angle area is located on the left side, the rightside, the upper edge, or the lower edge of the touch screen, or thewhole edge, or a combination of any of the above.
 6. The methodaccording to claim 1, further comprising: analyzing a pre-set number ofreported touch points, determining the pre-set offset index.
 7. Themethod according to claim 6, wherein analyzing a pre-set number ofreported touch points, determining the pre-set offset index comprises:calculating the pre-set offset index using the following formula:X _(—fact)+Offset=X _(—report);Offset=(W1−X _(—fact))*I; wherein X_(—fact) is the actual horizontalcoordinate of the touch point; X_(—report) is the coordinate reported bythe touch screen IC layer; Offset is the offset value; I is the pre-setoffset index; W1 is the length of the arc of the chamfered-rounded-anglein the X-axis direction.
 8. The method according to claim 1, furthercomprising: receiving, by the application layer, anaccidental-touch-prevention-area configuration instruction, theaccidental-touch-prevention-area configuration instruction includescoordinate parameters of the accidental-touch prevention area; based onthe accidental-touch-prevention-area configuration instruction, calling,by the application layer, the interface of the driver layer to set upthe one or more accidental-touch prevention areas on the touch screen ofthe mobile terminal.
 9. The method according to claim 8, furthercomprising: receiving, by the touch screen IC layer, a touch instructionfrom a user, and reporting the touch point information corresponding tothe touch instruction to the driver layer; determining, by the driverlayer, whether the touch point according to the touch point informationfalls within the accidental-touch prevention area; performing, by thedriver layer, accidental-touch prevention processing on the touch pointwhen the touch point according to the touch point information fallswithin the accidental-touch prevention area; otherwise, reporting, bythe driver layer, the touch point information to the application layer,and responding, by the application layer, to the touch point.
 10. Themethod according to claim 9, wherein determining, by the driver layer,whether the touch point according to the touch point information fallswithin the accidental-touch prevention area; performing, by the driverlayer, accidental-touch prevention processing on the touch point whenthe touch point according to the touch point information falls withinthe accidental-touch prevention area, further comprises: determining, bythe driver layer, whether a start point of the touch track falls withinthe pre-set accidental-touch prevention area, and performingaccidental-touch prevention process according to the determining result.11. An accidental-touch-prevention apparatus for a mobile terminal,wherein the mobile terminal includes a touch control unit having anapplication layer, a driver layer and a touch screen IC layer, and adriver layer has an interface for the application layer to call, thetouch screen has a chamfered-rounded-angle area, theaccidental-touch-prevention apparatus comprising: an instructionreceiving module configured to receive a touch instruction from a userby the touch screen IC layer, and to report a touch point on a touchtrack corresponding to the touch instruction to the driver layer; and aprocessing module configured to determine whether the touch point is inthe chamfered-rounded-angle area by the driver layer; and when the touchpoint is in the chamfered-rounded-angle area, correct coordinates of thetouch point by the driver layer.
 12. The apparatus according to claim11, wherein the processing module is configured to: receive thehorizontal coordinate of the touch point by the driver layer reported bythe touch screen IC layer, and acquire the length of the arc of thechamfered-rounded-angle in the X-axis direction; based on a pre-setoffset index, the horizontal coordinate of the touch point, and thelength of the arc of the chamfered-rounded-angle in the X-axisdirection, calculate the actual horizontal coordinate of the touchpoint.
 13. The apparatus according to claim 11, wherein the processingmodule is configured to: report to the application layer the touch pointwith the corrected coordinates by the driver layer.
 14. The apparatusaccording to claim 11, wherein the processing module is configured to:when the touch point is not in the chamfered-rounded-angle area, reportthe coordinate of the touch point by the driver layer to the applicationlayer.
 15. The apparatus according to claim 11, wherein thechamfered-rounded-angle area is located on the left side, the rightside, the upper edge, or the lower edge of the touch screen, or thewhole edge, or a combination of any of the above.
 16. The apparatusaccording to claim 11, wherein the processing module is configured to:analyze a pre-set number of reported touch points, determine the pre-setoffset index.
 17. The apparatus according to claim 16, wherein theprocessing module is configured to: calculate the pre-set offset indexusing the following formula:X _(fact)+Offset=X _(report);Offset=(W1−X _(—fact))*I; wherein X_(—fact) is the actual horizontalcoordinate of the touch point; X_(—report) is the coordinate reported bythe touch screen IC layer; Offset is the offset value; I is the pre-setoffset index; W1 is the length of the arc of the chamfered-rounded-anglein the X-axis direction.
 18. The apparatus according to claim 11,wherein the instruction receiving module is configured to receive anaccidental-touch-prevention-area configuration instruction by theapplication layer, the accidental-touch-prevention-area configurationinstruction includes coordinate parameters of the accidental-touchprevention area; the processing module is configured to call theinterface of the driver layer by the application layer to set up the oneor more accidental-touch prevention areas on the touch screen of themobile terminal based on the accidental-touch-prevention-areaconfiguration instruction.
 19. The apparatus according to claim 18,wherein the instruction receiving module is configured to receive atouch instruction from a user by the touch screen IC layer, and reportthe touch point information corresponding to the touch instruction tothe driver layer; the processing module is configured to determinewhether the touch point according to the touch point information fallswithin the accidental-touch prevention area by the driver layer; performaccidental-touch prevention processing by the driver layer on the touchpoint when the touch point according to the touch point informationfalls within the accidental-touch prevention area; otherwise, report thetouch point information by the driver layer to the application layer,and respond to the touch point by the application layer.
 20. Theapparatus according to claim 19, wherein the processing module isconfigured to: determine whether a start point of the touch track fallswithin the pre-set accidental-touch prevention area by the driver layer,and perform accidental-touch prevention process according to thedetermining result.